home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / hamburge.swf / scripts / frame_76 / DoAction.as
Encoding:
Text File  |  2011-03-26  |  675 b   |  32 lines

  1. MovieClip.prototype.smoothMove = function(speed, targetX, targetY)
  2. {
  3.    this._x += speed * (targetX - this._x);
  4.    this._y += speed * (targetY - this._y);
  5. };
  6. score = 0;
  7. spaceTyp1 = 7;
  8. spaceTyp2 = 9;
  9. spaceTyp3 = 8;
  10. spaceTyp4 = 6;
  11. spaceTyp5 = 7;
  12. spaceTyp6 = 8;
  13. spaceTyp7 = 7;
  14. sTyp1 = 14;
  15. sTyp2 = 16;
  16. sTyp3 = 14;
  17. sTyp4 = 13;
  18. sTyp5 = 12;
  19. sTyp6 = 14;
  20. sTyp7 = 14;
  21. downS = new Sound(this);
  22. downS.attachSound("downSound");
  23. moveS = new Sound(this);
  24. moveS.attachSound("moveSound");
  25. isBgmPlay = true;
  26. bgm = new Sound(this);
  27. bgm.attachSound("bgm");
  28. noBtn = new Sound(this);
  29. noBtn.attachSound("noBtn");
  30. bubS = new Sound(this);
  31. bubS.attachSound("bubSound");
  32.